//
// Created by binjx on 2025/3/31.
//

#ifndef ANDROID_DEMO_CALCULATOR_H
#define ANDROID_DEMO_CALCULATOR_H

class Calculator {
    std::string number1 = "",number2 = "";
    std::string method = "";
    std::string memory = "";
    std::vector<std::string> memorys;

public:
    std::string setNumber(std::string digit);

    std::string setMethod(std::string method);

    std::string equal();

    std::string count();

    std::string clear();

    std::string erasure();

    void setMemory();

    void backMemory();

    void clearMemory();

    std::string totalMemory();

    std::string changeFormat(double number);
};

#endif //ANDROID_DEMO_CALCULATOR_H
